1442f6
@@ -510,6 +510,9 @@
public TProcessor getProcessor(TTransport trans) {
 
   public static void main(String[] args) {
     try {
+      //Initializing log for the HiveServer Mode
+      SessionState.initHiveLog4j();
+
       int port = 10000;
       int minWorkerThreads = 100; // default number of threads serving the Hive server
       if (args.length >= 1) {
